An Efficient Algorithm to Compute the Candidate Keys of a Relational Database Schema
نویسندگان
چکیده
We provide an efficient algorithm for computing the candidate keys of a relational database schema. The algorithm exploits the ‘arrangement’ of attributes in the functional dependencies to determine which attributes are essential and useful for determining the keys and which attributes should not be considered. A more generalized algorithm using attribute graphs is then provided which allows a uniform and simplified solution to find all possible keys of a relational database schema when the attribute graph of Functional Dependencies (FDs) is not strongly connected.
منابع مشابه
Advancing the discovery of unique column combinations (Technische Berichte des Hasso-Plattner-Instituts für Softwaresystemtechnik ; 51)
Unique column combinations of a relational database table are sets of columns that contain only unique values. Discovering such combinations is a fundamental research problem and has many different data management and knowledge discovery applications. Existing discovery algorithms are either brute force or have a high memory load and can thus be applied only to small datasets or samples. In thi...
متن کاملDISCOVER: Keyword Search in Relational Databases
DISCOVER operates on relational databases and facilitates information discovery on them by allowing its user to issue keyword queries without any knowledge of the database schema or of SQL. DISCOVER returns qualified joining networks of tuples, that is, sets of tuples that are associated because they join on their primary and foreign keys and collectively contain all the keywords of the query. ...
متن کاملEfficient Schema Based Keyword Search in Relational Databases
Keyword search in relational databases allows user to search information without knowing database schema and using structural query language (SQL). In this paper, we address the problem of generating and evaluating candidate networks. In candidate network generation, the overhead is caused by raising the number of joining tuples for the size of minimal candidate network. To reduce overhead, we ...
متن کاملOn the Number of Keys of a Relational Database Schema
We introduce an inference system for deriving all keys of a relation schema. Then we show that the number of keys of a relation schema R = hU; F i is bounded by be c.
متن کاملExtracting an Entity Relationship Schema from a Relational Database through Reverse Engineering
This paper presents a method for extracting a conceptual schema from a relational database. The method is based on an analysis of data manipulation statements in the code of an application using a relational DBMS. Attributes representing references between tables in the relational schema, and possible keys are determined by an analysis of join conditions in queries and view deenitions. Knowledg...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Comput. J.
دوره 39 شماره
صفحات -
تاریخ انتشار 1996